function AjaxUpload(url,type='POST',formData,callback){
    $.ajax({
        url,
        type:'post',
        data:formData,
        contentType:false,
        processData:false,
        mimeType:"multipart/form-data",
        success:function(data){
            callback(data);
        },
        error:function(data){
            callback(data)
        }
    });
}